package DataGo;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Data04 {
    public static void main(String[] args) throws ParseException {
        String ti="2020-11-22 10:12:12";
      SimpleDateFormat sim  =new  SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
          Date date =  sim.parse(ti);
          long time=date.getTime();
         time+=(365*24*60*60*1000)/0.1;
         Date newdat=new Date(time);
         String S=sim.format(newdat);
        System.out.println(S);
    }
}
